1. Open webChat.js file
2. Replace the following functions with that from the SDK:
    handleNotification
    playOnHoldMessage
    startOnHoldMessages
3. Copy the following methods into your version:
    sendWebOnHold
    notifyWebOnHold
4. Open webChatConfig.js
5. Locate chatConfig variable and the following lines:
    Add line:
    maxWebOnHoldMessages : 50,
    after:
    retryInterval : 3000,
    Add line:
    jsonMethodWebOnHoldMessage : 'webOnHoldMessage',
    after:
    jsonMethodFileTransfer : 'newAgentFileTransfer',
    Add line:
    serverWebOnHold: true,
    after:
    notifyOfBarge : false,
6. Open chatConfigPanel.js
7. Find chatConfigPanel.loadConfig function and add the following lines:
    Add line:
    chatConfig.serverWebOnHold = details.serverWebOnHold;
    after:
    chatConfig.notifyOfBarge = details.notifyOfBarge;
    Add line:
    findElement("serverWebOnHoldEnabledInput").checked = chatConfig.serverWebOnHold;
    after:
    findElement("notifyOfBargeEnabledInput").checked = chatConfig.notifyOfBarge;
8. Find chatConfigPanel.saveConfig function and add the following lines:
    Add line:
    chatConfig.serverWebOnHold = findElement('serverWebOnHoldEnabledInput').checked;
    after:
    chatConfig.notifyOfBarge = findElement('notifyOfBargeEnabledInput').checked;
    Add line:
    'serverWebOnHold':chatConfig.serverWebOnHold,
    after
    'notifyOfBarge': chatConfig.notifyOfBarge,
9. Copy toggleWebOnHold method into your version
10. Find  chatConfigPanel.setup function and add line:
    findElement("toggleWebOnHold").addEventListener("click", toggleWebOnHold);
    after:
    findElement("toggleCoBrowse").addEventListener("click", toggleCoBrowse);
11. Open home.html file
12. Add the div block with id toggleWebOnHold from SDK to the configuration panel













